<template>
  <nav class="navbar">
    <div class="leftMenu">
      <img src="../assets/logo.png" />
    </div>
    <div class="rightMenu"> 
      <span>张三(超级管理员)</span>
      <img class="ml-5" style="height: 30px" src="@/assets/gita.gif" alt="" />
      <span class="line"></span>
      <span class="logout" @click="router.push('/login')">退出登录</span>
      <div class="lang rel">
        <span class="text abs">cn</span>
      </div>
    </div>
  </nav>
</template>

<script setup>
import {useRouter} from 'vue-router';
const router = useRouter();

 
</script>

<style scoped lang="less">
@import './Navbar.less';
</style>
